<?php
session_start();
//set account number and person id in session to be null
$url = $_SERVER['HTTP_REFERER'];
$_SESSION["accountNo"] = null;
$_SESSION["personid"] = null;

echo "<HTML><META http-equiv=\"refresh\" content=\"0; url='".$url."'\"></HTML>";//redirect to the home page
?>